package lmscript.postscript.syntax;

import lmscript.postscript.syntax.stack.OperandStack;

public abstract class DeviceOperator extends PSOperator {

	public static Class[] operators = new Class[] { ShowPage.class, CopyPage.class,
			SetPageDevice.class, CurrentPageDevice.class, NullDevice.class };

	DeviceOperator(String name) {
		super(name);
	}
}

class ShowPage extends DeviceOperator {

	ShowPage(String name) {
		super("showpage");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class CopyPage extends DeviceOperator {

	CopyPage(String name) {
		super("copypage");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class SetPageDevice extends DeviceOperator {

	SetPageDevice(String name) {
		super("setpagedevice");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class CurrentPageDevice extends DeviceOperator {

	CurrentPageDevice(String name) {
		super("currentpagedevice");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class NullDevice extends DeviceOperator {

	NullDevice(String name) {
		super("nulldevice");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}
